Add patch to skip Yelp manual for bundled gtk-doc
authorSimon McVittie <smcv@debian.org>
Tue, 25 Aug 2020 09:46:54 +0000 (10:46 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 25 Aug 2020 11:22:05 +0000 (12:22 +0100)
debian/patches/docs-Don-t-build-Yelp-manual-for-bundled-gtk-doc-subproje.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/docs-Don-t-build-Yelp-manual-for-bundled-gtk-doc-subproje.patch b/debian/patches/docs-Don-t-build-Yelp-manual-for-bundled-gtk-doc-subproje.patch
new file mode 100644 (file)
index 0000000..b52debc
--- /dev/null
@@ -0,0 +1,25 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Tue, 25 Aug 2020 10:42:40 +0100
+Subject: docs: Don't build Yelp manual for bundled gtk-doc subproject
+
+This adds dependencies that would otherwise be unnecessary.
+
+Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2475
+Signed-off-by: Simon McVittie <smcv@debian.org>
+---
+ docs/reference/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/docs/reference/meson.build b/docs/reference/meson.build
+index 1654463..905af97 100644
+--- a/docs/reference/meson.build
++++ b/docs/reference/meson.build
+@@ -7,7 +7,7 @@ if get_option('gtk_doc')
+   # for the time being
+   dependency('gtk-doc', version: '>=1.99',
+     fallback: ['gtk-doc', 'dummy_dep'],
+-    default_options: ['tests=false'])
++    default_options: ['tests=false', 'yelp_manual=false'])
+   glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
+   glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
index fc33be15a1269175a90d57a5a0bef8d338b4edb3..2b2638b9a3f2793de8f8901123400e7f96c8375c 100644 (file)
@@ -4,3 +4,4 @@ cups-Don-t-emit-a-warning-if-we-can-t-talk-to-avahi.patch
 cloudprint-Fix-redundant-declarations.patch
 roaring.-ch-Add-attribution-and-licensing-information.patch
 Include-a-copy-of-the-Apache-license.patch
+docs-Don-t-build-Yelp-manual-for-bundled-gtk-doc-subproje.patch